﻿namespace K9Nano.Application.Dtos;

public interface IAuditDto: IKeyDto
{
    long CreatedBy { get; set; }
    string? CreatorName { get; set; }
    DateTime CreatedAt { get; set; }
    long? UpdatedBy { get; set; }
    string? UpdaterName { get; set; }
    DateTime? UpdatedAt { get; set; }
}


public class AuditDto: IAuditDto
{
    public long Id { get; set; }
    public long CreatedBy { get; set; }
    public string? CreatorName { get; set; }
    public DateTime CreatedAt { get; set; }
    public long? UpdatedBy { get; set; }
    public string? UpdaterName { get; set; }
    public DateTime? UpdatedAt { get; set; }
}